package com.nineclock.api.attendance;

import com.nineclock.attendance.dto.AttendPunchDTO;
import com.nineclock.attendance.dto.AttendPunchUserWholeDayDTO;
import com.nineclock.common.entity.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api("考勤打卡")
public interface AttendancePunchControllerApi {
    @ApiOperation("移动端打卡")
    public Result punch(AttendPunchDTO attendPunchDTO);

    @ApiOperation("获取打卡数据")
    public Result<AttendPunchUserWholeDayDTO> getPunchData();

    @ApiOperation("考勤列表以及打卡数据查询")
    public Result<List<AttendPunchDTO>> getMembers(String stratTime, String endTime);

    @ApiOperation("导出指定时间段考勤打卡数据")
    public Result export(String startTime, String endTime);
}
